package com.example.courseselect.domain;
import lombok.Data;
//import lombok.RequiredArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
//@RequiredArgsConstructor
public class Student {
	@NotBlank(message="Name is required")
	private String name;
	@NotBlank(message="Number is required")
	private String number;
	@NotBlank(message="Grade is required")
	private String grade;
	@NotBlank(message="Major is required")
	private String major;
	@NotBlank(message="Academy code is required")
	private String academy;
	private List<String> courses;


}


